<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?=$this->config->item('site_title');?></title>
<link rel="stylesheet" type="text/css" href="<?= base_url() . 'resource/jeasyui/themes/metro/easyui.css' ?>"/>
<link rel="stylesheet" type="text/css" href="<?= base_url() . 'resource/jeasyui/themes/icon.css' ?>"/>
<link rel="stylesheet" type="text/css" href="<?= base_url() . 'resource/css/bootstrap.css' ?>?20170717"/>
<link rel="stylesheet" type="text/css" href="<?= base_url() . 'resource/css/font-awesome.min.css' ?>?20170717"/>
<link rel="stylesheet" type="text/css" href="<?=base_url().'resource/css/css.css'?>" />
<script type="text/javascript" src="<?=base_url().'resource/js/jquery.min.js'?>" ></script>
<script type="text/javascript" src="<?=base_url().'resource/js/common.js'?>" charset="utf-8"></script>
<script>
function login_submit() {
	if(!isempty('account','<?=lang('member_yhmbnwk')?>'))return false;
	if(!isempty('password','<?=lang('member_mmbnwk')?>'))return false;
	return true;
}
</script>
</head>
<body>
<div id="container">
  <header id="header" class="navbar navbar-static-top" style="height:45px;">
    <div class="navbar-header">
      <a href="<?= base_url()?>" class="navbar-brand" style="padding:10px;"><img src="<?=base_url().'resource/images/index.jpg'?>" alt="tomrepair oms" title="tomrepair oms"></a></div>
      <ul class="nav pull-right">
      <li>
          <select class="form-control language" onchange="if(this.value!='')location.href=this.value">
              <option value="" >Select Language...</option>
              <option value="<?=base_url(anewlang('english'))?>" <?=$optlang['english']?> >English</option>
              <option value="<?=base_url(anewlang('sc'))?>" <?=$optlang['sc']?> >简体中文</option>
              <option value="<?=base_url(anewlang('es'))?>" <?=$optlang['es']?> >Español</option>
          </select>
      </li>
    </ul>
  </header>
  <div id="content">
    <div class="container-fluid"><br><br><br><br>
      <div class="row">
        <div class="col-sm-offset-4 col-sm-4">
          <div class="panel panel-default">
            <div class="panel-heading">
              <h1 class="panel-title"><i class="fa fa-sign-in"></i>&nbsp;<?=lang('member_title')?></h1>
            </div>
            <div class="panel-body" style="border: none;">
              <form action="<?=blang_url('home/'.$post_type)?>" method="post" name="loginform" onsubmit="return login_submit()" class="login-form" id="login-form">
                <div class="form-group">
                  <div class="input-group"><span class="input-group-addon"><i class="fa fa-user"></i></span>
                    <input type="text" id="account" name="account" placeholder="<?=lang('member_ndzh')?>" value="<?=$account?>" class="form-control"/>
                  </div>
                </div>
                <div class="form-group">
                  <div class="input-group"><span class="input-group-addon"><i class="fa fa-lock"></i></span>
                    <input type="password" id="password" name="password" placeholder="<?=lang('member_mima')?>" class="form-control" />
                  </div>             
                </div>
                <?php if (isset($message)):?>
                <div style="color:red;"><?=$message?></div>
                <?php endif;?>
                <div class="text-right">
                  <a class="btn btn-oms" href="<?=blang_url('home/register')?>"><i class="fa fa-location-arrow"></i>&nbsp;<?=lang('member_zhuce')?></a>
                  <input name="submits" type="submit" class="btn btn-primary" value="<?=lang('member_title')?>" />
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <footer id="footer">© Copyright Powered by 深圳市pandaWill丹宏昊天</footer>
</div>
</body>
</html>